namespace ext
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <summary>Configuration Structure</summary>
	/// <definedin>src\widgets\Action.js</definedin>
	public sealed class Action_Configuration : Record
	{
		
		#region Fields
		/// <summary>The text to set for all components using this action (defaults to &apos;&apos;).</summary>
		/// <definedin>src\widgets\Action.js</definedin>
		[ScriptName("text")]
		public string Text;
		
		/// <summary>
		/// The CSS class selector that specifies a background image to be used as the header icon for
		/// all components using this action (defaults to &apos;&apos;).
		/// An example of specifying a custom icon class would be something like:
		///  
		/// // specify the property in the config for the class:
		/// ...
		/// iconCls: &apos;do-something&apos;
		///
		/// // css class that specifies background image to be used as the icon image:
		/// .do-something { background-image: url(../images/my-icon.gif) 0 6px no-repeat !important; }
		/// </summary>
		/// <htmlSummary>
		/// The CSS class selector that specifies a background image to be used as the header icon for
		/// all components using this action (defaults to &apos;&apos;).
		/// &lt;p&gt;An example of specifying a custom icon class would be something like:
		/// &lt;/p&gt;&lt;pre&gt;&lt;code&gt;
		/// // specify the property in the config for the class:
		/// ...
		/// iconCls: &apos;do-something&apos;
		///
		/// // css class that specifies background image to be used as the icon image:
		/// .do-something { background-image: url(../images/my-icon.gif) 0 6px no-repeat !important; }
		/// &lt;/code&gt;&lt;/pre&gt;
		/// </htmlSummary>
		/// <definedin>src\widgets\Action.js</definedin>
		[ScriptName("iconCls")]
		public string IconCls;
		
		/// <summary>True to disable all components using this action, false to enable them (defaults to false).</summary>
		/// <definedin>src\widgets\Action.js</definedin>
		[ScriptName("disabled")]
		public bool Disabled;
		
		/// <summary>True to hide all components using this action, false to show them (defaults to false).</summary>
		/// <definedin>src\widgets\Action.js</definedin>
		[ScriptName("hidden")]
		public bool Hidden;
		
		/// <summary>
		/// The function that will be invoked by each component tied to this action
		/// when the component&apos;s primary event is triggered (defaults to undefined).
		/// </summary>
		/// <definedin>src\widgets\Action.js</definedin>
		[ScriptName("handler")]
		public System.Delegate Handler;
		
		/// <summary>See {@link Ext.Component}.{@link Ext.Component#itemId itemId}.</summary>
		/// <definedin>src\widgets\Action.js</definedin>
		[ScriptName("itemId")]
		public string ItemId;
		
		/// <summary>
		/// The scope (this reference) in which the
		/// {@link #handler} is executed. Defaults to this Button.
		/// </summary>
		/// <htmlSummary>
		/// The scope (&lt;tt&gt;&lt;b&gt;this&lt;/b&gt;&lt;/tt&gt; reference) in which the
		/// &lt;code&gt;{@link #handler}&lt;/code&gt; is executed. Defaults to this Button.
		/// </htmlSummary>
		/// <definedin>src\widgets\Action.js</definedin>
		[ScriptName("scope")]
		public object Scope;
		#endregion
	}
}
